package com.example.demo.entity;

import com.alibaba.fastjson.JSONObject;

/**
 * @title:	PaneProperty
 * @author:	许子文
 * @date:	2018年12月26日 
 * @descirption: 在图片上绘制方框的属性
 */
public class PaneProperty{
	//原点x轴坐标
	private String x_coord;
	
	//原点y轴坐标
	private String y_coord;
	
	//矩形的宽
	private String width;
	
	//矩形的高
	private String height;

	public String getHeight() {
		return height;
	}

	public void setHeight(String height) {
		this.height = height;
	}

	public String getX_coord() {
		return x_coord;
	}

	public void setX_coord(String x_coord) {
		this.x_coord = x_coord;
	}

	public String getY_coord() {
		return y_coord;
	}

	public void setY_coord(String y_coord) {
		this.y_coord = y_coord;
	}

	public String getWidth() {
		return width;
	}

	public void setWidth(String width) {
		this.width = width;
	}

	public PaneProperty() {
		super();
	}

	public PaneProperty(String x_coord, String y_coord, String width,
			String height) {
		super();
		this.x_coord = x_coord;
		this.y_coord = y_coord;
		this.width = width;
		this.height = height;
	}
	
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return JSONObject.toJSONString(this);
	}
}
